package com.iotp.dao.crop;

import com.iotp.entity.crop.Crop;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CropMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Crop record);

    int insertSelective(Crop record);

    Crop selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Crop record);

    int updateByPrimaryKey(Crop record);

    List<Crop> selectByCondition(Crop crop);
}